package com.zretc.entity;

import java.math.BigDecimal;


/**
 * 会员分类表
 * @author zhaokun
 */
public class VipType {

    private String vipTypeId;   //会员分类编号
    private String vipTypeName; //会员类型（M：月卡 S：季卡 Y：年卡）
    private BigDecimal vipDiscount; //会员折扣
    private Vip vip;    //Vip用户

    public VipType() {

    }

    public VipType(String vipTypeId, String vipTypeName, BigDecimal vipDiscount, Vip vip) {
        this.vipTypeId = vipTypeId;
        this.vipTypeName = vipTypeName;
        this.vipDiscount = vipDiscount;
        this.vip = vip;
    }

    public String getVipTypeId() {
        return vipTypeId;
    }

    public void setVipTypeId(String vipTypeId) {
        this.vipTypeId = vipTypeId;
    }

    public String getVipTypeName() {
        return vipTypeName;
    }

    public void setVipTypeName(String vipTypeName) {
        this.vipTypeName = vipTypeName;
    }

    public BigDecimal getVipDiscount() {
        return vipDiscount;
    }

    public void setVipDiscount(BigDecimal vipDiscount) {
        this.vipDiscount = vipDiscount;
    }

    public Vip getVip() {
        return vip;
    }

    public void setVip(Vip vip) {
        this.vip = vip;
    }

    @Override
    public String toString() {
        return "VipType{" +
                "vipTypeId='" + vipTypeId + '\'' +
                ", vipTypeName='" + vipTypeName + '\'' +
                ", vipDiscount=" + vipDiscount +
                ", vip=" + vip +
                '}';
    }
}
